package org.jeecg.modules.inspect.vo;

import java.util.List;
import org.jeecg.modules.inspect.entity.InsTask;
import org.jeecg.modules.inspect.entity.InsTaskItem;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 任务
 * @Author: jeecg-boot
 * @Date:   2023-11-24
 * @Version: V1.0
 */
@Data
@ApiModel(value="ins_taskPage对象", description="任务")
public class InsTaskPage {

	/**任务ID*/
	@ApiModelProperty(value = "任务ID")
    private java.lang.String id;
	/**任务编号*/
	@Excel(name = "任务编号", width = 15)
	@ApiModelProperty(value = "任务编号")
    private java.lang.String taskNo;
	/**任务状态*/
	@Excel(name = "任务状态", width = 15, dicCode = "task_status")
    @Dict(dicCode = "task_status")
	@ApiModelProperty(value = "任务状态")
    private java.lang.String taskStatus;
	/**开始时间*/
	@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开始时间")
    private java.util.Date taskBegin;
	/**结束时间*/
	@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "结束时间")
    private java.util.Date taskEnd;
	/**已巡检数*/
	@Excel(name = "已巡检数", width = 15)
	@ApiModelProperty(value = "已巡检数")
    private java.lang.Integer inspectedNum;
	/**总点位数*/
	@Excel(name = "总点位数", width = 15)
	@ApiModelProperty(value = "总点位数")
    private java.lang.Integer pointNum;
	/**规则*/
	@Excel(name = "规则", width = 15, dictTable = "ins_rule", dicText = "rule_name", dicCode = "id")
    @Dict(dictTable = "ins_rule", dicText = "rule_name", dicCode = "id")
	@ApiModelProperty(value = "规则")
    private java.lang.String ruleId;
	/**角色*/
	@Excel(name = "角色", width = 15, dictTable = "sys_role", dicText = "role_name", dicCode = "id")
    @Dict(dictTable = "sys_role", dicText = "role_name", dicCode = "id")
	@ApiModelProperty(value = "角色")
    private java.lang.String roleId;
	/**部门*/
	@Excel(name = "部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@ApiModelProperty(value = "部门")
    private java.lang.String deptId;
	/**人员*/
	@Excel(name = "人员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@ApiModelProperty(value = "人员")
    private java.lang.String userId;
	/**执行人*/
	@Excel(name = "执行人", width = 15)
	@ApiModelProperty(value = "执行人")
    private java.lang.String executor;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
	@ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**删除标记 0正常 1已删除*/
	@Excel(name = "删除标记 0正常 1已删除", width = 15)
	@ApiModelProperty(value = "删除标记 0正常 1已删除")
    private java.lang.Integer delFlag;
	/**组织机构编码*/
	@ApiModelProperty(value = "组织机构编码")
    private java.lang.String sysOrgCode;

	@ExcelCollection(name="任务项")
	@ApiModelProperty(value = "任务项")
	private List<InsTaskItem> insTaskItemList;

}
